import { localCache } from "./cache";
import { LOGIN_TOKEN } from "@/global/constants";
const TokenKey = LOGIN_TOKEN;

export function getToken() {
  return localCache.getCache(TokenKey);
}

export function setToken(token: any) {
  return localCache.setCache(TokenKey, token);
}

export function removeToken() {
  return localCache.removeCache(TokenKey);
}
